Python : To creat a turtle program you have to write on your first command line "from turtle import *"

Nice code example :
from turtle import *
n= int(input("Nombre de côté "))
for i in range(1000):
forward(1*i+4)
right (360/n)
forward(5)
left (20)
forward (1)